package com.yhp.service;

import com.yhp.pojo.Category;
import com.yhp.vo.CategoryVO;
import com.yhp.vo.ItemVO;

import java.util.List;

public interface CategoryService {
    //查询大分类
    public List<Category> queryAllRootCats();
    //查询子分类
    public List<CategoryVO> querySecondCats(Integer typeId);
    //首页中查询六个推荐的商品信息
    public List<ItemVO> querySix(Integer rootId);
}
